package com.gxa.community.core.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 秒杀信息表
 * </p>
 *
 * @author XYJ
 * @since 2022-07-18
 */
@TableName("operate_kill_spell")
@ApiModel(value = "OperateKillSpell对象", description = "秒杀信息表")
@Data
public class SecKillDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("秒杀订单编号")
    private String killId;

    @ApiModelProperty("活动名称")
    private String name;

    @ApiModelProperty("开始时间")
    private Long timeStart;

    @ApiModelProperty("结束时间")
    private Long timeEnd;

    @ApiModelProperty("关联商品数")
    private Integer aboutNum;

    @ApiModelProperty("活动状态(-1-未进行/0-进行中/1-已结束)")
    private Integer aboutState;

    @ApiModelProperty("秒杀状态/0上线/1下线")
    private Integer uplineState;

}
